package com.dong.demo;

import java.util.Date;

public class TestBook {
    public static void main(String[] args) {
        Book b1 = new Book(1, "西游记", "吴承恩", 99.0, "中国", new Date());
        Book b2 = new Book(2, "水浒传", "施耐庵", 66.0, "中国", new Date());
        Book b3 = new Book(3, "三国演义", "罗贯中", 55.0, "中国", new Date());
        b1.changePrive(10);
        b2.changePrive(20);
        b3.changePrive(30);
        System.out.println(b1.toString());
        System.out.println(b2.toString());
        System.out.println(b3.toString());
    }
}
